package com.syq.service;

import com.syq.pojo.DtsCategory;
import com.syq.vo.CatVo;
import com.syq.vo.CategorySellAmts;
import com.syq.vo.CategorySellVo;

import java.util.List;

/**
 * @ClassName: CateGoryService
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/7/22 14:31
 */


public interface DtsCategoryService {

    List<CategorySellAmts> findCategorySellAmts();

    Integer findById(Integer categoryId);

    List<CatVo> findPid();

    Object findAll(Integer page, Integer limit, String sort, String order, String name, Integer id);

    Object findL1();

    Object add(DtsCategory category);

    Object update(DtsCategory category);

    Object delete(DtsCategory category);
}
